package file;

import java.io.File;
import java.io.IOException;

public class FileTest {
    public static void main(String[] args) throws IOException, InterruptedException {
        File file = new File("./test.txt");
        System.out.println(file.getAbsoluteFile());
        boolean newFile = file.createNewFile();
//        boolean delete = file.delete();
        file.deleteOnExit();
        Thread.sleep(10000);
    }
}
